<!--
  Generated template for the AssistantofficereturnPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>办公用品归还申请</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  <ion-list class="apply">
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>申请人</ion-label>
      <ion-input type="text" [(ngModel)]="inputViewModel.applyapplymember" readonly="true"></ion-input>
    </ion-item>
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>申请公司</ion-label>
      <ion-input type="text" [(ngModel)]="inputViewModel.applycompany.name" readonly="true" tappable (click)="applycompanyselect()"></ion-input>
      <i class="iconfont icon-sousuo" item-end tappable (click)="applycompanyselect()"></i>
    </ion-item>
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>申请部门</ion-label>
      <ion-input [(ngModel)]="inputViewModel.applydepartment.name" readonly="true" tappable (click)="applydepartselect()">
      </ion-input>
      <i class="iconfont icon-sousuo" item-end tappable (click)="applydepartselect()"></i>
    </ion-item>
    <ion-item class="titem">
      <ion-label stacked>
        <span>*</span>申请理由</ion-label>
      <ion-textarea [(ngModel)]="inputViewModel.applychangenote"></ion-textarea>
    </ion-item>
    <ion-item class="titem">
      <ion-label stacked>
        <span>*</span>备注</ion-label>
      <ion-textarea [(ngModel)]="inputViewModel.applynote"></ion-textarea>
    </ion-item>
    <!--提交相关 -->
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>当前节点</ion-label>
      <ion-input type="text" [(ngModel)]="inputViewModel.applynownode" readonly="true"></ion-input>
    </ion-item>
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>当前处理人</ion-label>
      <ion-input type="text" [(ngModel)]="inputViewModel.applynowmember" readonly="true"></ion-input>
    </ion-item>
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>下一步审批节点</ion-label>
      <ion-input type="text" [(ngModel)]="inputViewModel.applynextnode" readonly="true"></ion-input>
    </ion-item>
    <ion-item class="sitem">
      <ion-label fixed>
        <span>*</span>下一步审批人</ion-label>
      <ion-input [(ngModel)]="inputViewModel.applynextman.name" readonly="true" tappable (click)="applyapplymemberselect()">
      </ion-input>
      <i class="iconfont icon-sousuo" item-end tappable (click)="applyapplymemberselect()"></i>
    </ion-item>

    <!--办公用品动态 -->
    <ion-item class="aitem">
			<button ion-button (click)="applyapplyofficeret()">选择办公用品</button>
		</ion-item>
		<div class="applyauto" *ngFor="let item of inputSelectView.applyoaofficeretDefitems">
			<ion-item class="sitem">
				<ion-label fixed>名称</ion-label>
				<ion-input type="text" [(ngModel)]="item.name" readonly="true"></ion-input>
			</ion-item>
			<ion-item class="sitem">
				<ion-label fixed>
					<span>*</span>类别</ion-label>
				<ion-input type="number" [(ngModel)]="item.type" readonly="true"></ion-input>
			</ion-item>
			<ion-item class="sitem">
				<ion-label fixed>
					<span>*</span>申请数量</ion-label>
				<ion-input type="number" [(ngModel)]="item.applynum" readonly="true"></ion-input>
			</ion-item>
			<ion-item class="sitem">
				<ion-label fixed>
					<span>*</span>实际数量</ion-label>
				<ion-input type="number" [(ngModel)]="item.readnum" readonly="true"></ion-input>
			</ion-item>
			<ion-item class="sitem">
				<ion-label fixed>
					<span>*</span>已归还数量</ion-label>
				<ion-input type="number" [(ngModel)]="item.readgui" readonly="true"></ion-input>
			</ion-item>
			<ion-item class="sitem">
				<ion-label fixed>
					<span>*</span>申请归还数</ion-label>
				<ion-input type="number" [(ngModel)]="item.applygui"></ion-input>
			</ion-item>
			<ion-item class="aitem">
				<button ion-button (click)="applyapplyoffiretcedelete(item)">删除该行</button>
			</ion-item>
		</div>
    <!--办公用品动态 -->

    <!--执行相关 -->
    <ion-item class="aitem">
      <button ion-button (click)="applyapplydone()">提交</button>
    </ion-item>
  </ion-list>
</ion-content>
